package com.example.taximeter.service;

import com.example.taximeter.bean.ReturnInfo;
import com.example.taximeter.bean.TaximeterType;
import com.example.taximeter.bean.TaximeterTypeView;

import java.util.List;

public interface TaximeterTypeService {

    List<TaximeterType> findTaximeterTypeList();

    ReturnInfo findTaximeterTypeAll(Integer pageNum, Integer pageSize, TaximeterTypeView taximeterTypeView);

    String addTaximeterType(TaximeterType taximeterType);

    String updateTaximeterType(TaximeterTypeView taximeterTypeView);

    String deleteTaximeterType(Integer id);

    List<TaximeterType> findJjqtypeByFactname(String factname);

    List<TaximeterType> findJjqtypeByFactid(Integer factid);

    String findJjqtypeByJjqtypeid(Integer id);
}
